package com.rmt.www.dao;

import java.util.List;

import com.rmt.www.vo.Traceability;

public interface TraceabilityDao {
	
	public void insertTraceability(Traceability newTraceability);
	
	public void updateTraceability(Traceability newTraceability);
	
	public void deleteTraceabilityByTId(int tid);
	public void deleteTraceabilityByFromIdAndToId(int fromId,int toId);
	
	public List<Traceability> getTraceabilitiesByFromId(int artifactfromid);
	
	public List<Traceability> getTraceabilitiesByToId(int artifacttoid);
	
	public boolean determinDependencyByFromAndToId(int fromId,int toId);
}
